#pragma once

#include <iosfwd>
#include <string>

void write_uint(std::ostream &, unsigned);
unsigned read_uint(std::istream &);

void write_string(std::ostream &, const std::string &);
std::string read_string(std::istream &);

void copy(std::istream &, std::ostream &);
void copy(std::istream &, std::ostream &, unsigned);
unsigned file_size(std::istream &is);
